package com.winapi.winapicommon.model.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName interface_info_charge
 */
@TableName(value ="interface_info_charge")
@Data
public class InterfaceInfoCharge implements Serializable {
    /**
     * 接口计费id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 接口id
     */
    private Long interfaceInfoId;

    /**
     * 单价 元/条
     */
    private Double price;

    /**
     * 接口剩余可调用次数
     */
    private Integer leftNum;

    /**
     * 创建人
     */
    private Long userId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除0-未删 1-已删
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}